/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.data;

import java.sql.Date;

/**
 *
 * @author Rafael
 */
public class DeviceInfo extends Skeleton
{
    private int deviceId;
    private double info;
    private Date transmitionDate;

    public int getDeviceId()
    {
        return deviceId;
    }

    public void setDeviceId( int deviceId )
    {
        this.deviceId = deviceId;
    }

    public Date getTransmitionDate()
    {
        return transmitionDate;
    }

    public void setTransmitionDate( Date transmitionDate )
    {
        this.transmitionDate = transmitionDate;
    }

    public double getInfo()
    {
        return info;
    }

    public void setInfo( double info )
    {
        this.info = info;
    }
    
    @Override
    public boolean equals( Object obj )
    {
        if ( obj == null )
        {
            return false;
        }
        if ( getClass() != obj.getClass() )
        {
            return false;
        }
        final DeviceInfo other = ( DeviceInfo ) obj;
        if ( this.getId() != other.getId() )
        {
            return false;
        }
        return true;
    }    
}
